<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script
	src="${pageContext.request.contextPath}/resources/js/jquery-1.9.1.min.js"></script>
<script
	src="${pageContext.request.contextPath}/resources/js/bootstrap.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/housekeeper/housekeeper_select.js"></script>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/resources/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/resources/css/main_font.css" />
<title>四川芝麻开门管理系统</title>
</head>
<body>
	<div class="container">
		<c:set var="housekeeper" scope="session" value="${housekeeper}" />
		<c:if test="${housekeeper==null}">
			<span><a
				href="${pageContext.request.contextPath}/pagejump/toLogin">您未登陆哦，请登陆！</a></span>
		</c:if>
		<c:if test="${housekeeper!=null}">
			<span>${sessionScope.housekeeper.name},欢迎您！<a
				href="${pageContext.request.contextPath}/pagejump/toLogin">退出登陆</a></span>
		</c:if>
	</div>
	<div class="container">
		<span><a
			href="${pageContext.request.contextPath}/pagejump/toIndex">主页</a>><a
			href="${pageContext.request.contextPath}/admin/housekeeper">管家信息管理</a>><a
			href="${pageContext.request.contextPath}/admin/housekeeper_select">信息查询</a>>管家信息删除</span>
	</div>
	<div class="container">
		<div id="Return">
			<c:set var="response" scope="request" value="${serverResponse}" />
			<c:if test="${response.status==1}">
				<font color='red'>${response.msg}</font>
			</c:if>
		</div>
		<table class="table table-striped">
			<tr>
				<td>账号:</td>
				<td>${userSelect.userName}</td>
			</tr>
			<tr>
				<td>密码:</td>
				<td>${userSelect.passWord}</td>
			</tr>
			<tr>
				<td>手机:</td>
				<td>${userSelect.phone}</td>
			</tr>
			<tr>
				<td>办公地址(服务点):</td>
				<td>${userSelect.housekeeper_address}</td>
			</tr>
			<tr>
				<td>姓名:</td>
				<td>${userSelect.name}</td>
			</tr>
			<tr>
				<td>身份证:</td>
				<td>${userSelect.identity_card}</td>
			</tr>
			<tr>
				<td>身份证地址:</td>
				<td>${userSelect.identity_address}</td>
			</tr>
			<tr>
				<td>管家级别:</td>
				<td>${userSelect.user_grade}</td>
			</tr>
			<tr>
				<td><a href="${pageContext.request.contextPath}/housekeeper_manage/update_housekeeper?userId=${userSelect.id}">修改管家信息</a></td>
				<td><a href="${pageContext.request.contextPath}/housekeeper_manage/delete_housekeeper_submit?userId=${userSelect.id}">删除该管家</a></td>
			</tr>
		</table>
		
	</div>
</body>
</html>